$(window).load(function() {
    var clicked = $.getUrlParam("clicked");
    clicked = clicked == null ? 0 : clicked;
    $(".title-block .title")[clicked].click();
});

function changeClicked(id) {
    var nowUrl = window.location.href;

    if (nowUrl.endWith("html")) {
        nowUrl = nowUrl + "?clicked=" + id;
    } else {
        nowUrl = nowUrl.substr(0, nowUrl.indexOf("?"));
        nowUrl = nowUrl + "?clicked=" + id;
    }
    window.history.replaceState(null, null, nowUrl);
}